<template>
  <div class="number-class">
    <span
      class="number-class-item"
      v-for="(item, index) in numData"
      :key="index"
    >
      {{ item }}
    </span>
  </div>
</template>

<script setup>
const props = defineProps({
  numData: {
    type: String,
    default: "000000000",
  },
});
</script>

<style lang="scss" scoped>
.number-class {
  display: flex;
  flex-direction: row;
  .number-class-item {
    margin: 0 1px;
    display: block;
    width: 22px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    color: #313131;
    background-color: #66befe;
  }
}
</style>
